//
//  Macro.h
//  MultiLevelDepartmentDemo
//
//  Created by Gin on 2021/6/7.
//

#ifndef Macro_h
#define Macro_h

/// 字体相关的宏，用于快速创建一个字体对象，更多创建宏可查看 UIFont+QMUI.h
#define UIFontMake(size) [UIFont systemFontOfSize:size]
#define UIFontItalicMake(size) [UIFont italicSystemFontOfSize:size] /// 斜体只对数字和字母有效，中文无效
#define UIFontBoldMake(size) [UIFont boldSystemFontOfSize:size]
#define UIFontBoldWithFont(_font) [UIFont boldSystemFontOfSize:_font.pointSize]

#define UIImageMake(img) [UIImage imageNamed:img]

#endif /* Macro_h */
